package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TSell entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TSell implements java.io.Serializable {

	// Fields

	private Integer sellId;
	private TShop TShop;
	private TStaff TStaff;
	private TMember TMember;
	private Date sellTime;
	private Double money;
	private Set TSelldetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TSell() {
	}

	/** minimal constructor */
	public TSell(TShop TShop, TStaff TStaff, TMember TMember, Date sellTime,
			Double money) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.sellTime = sellTime;
		this.money = money;
	}

	/** full constructor */
	public TSell(TShop TShop, TStaff TStaff, TMember TMember, Date sellTime,
			Double money, Set TSelldetails) {
		this.TShop = TShop;
		this.TStaff = TStaff;
		this.TMember = TMember;
		this.sellTime = sellTime;
		this.money = money;
		this.TSelldetails = TSelldetails;
	}

	// Property accessors

	public Integer getSellId() {
		return this.sellId;
	}

	public void setSellId(Integer sellId) {
		this.sellId = sellId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public TStaff getTStaff() {
		return this.TStaff;
	}

	public void setTStaff(TStaff TStaff) {
		this.TStaff = TStaff;
	}

	public TMember getTMember() {
		return this.TMember;
	}

	public void setTMember(TMember TMember) {
		this.TMember = TMember;
	}

	public Date getSellTime() {
		return this.sellTime;
	}

	public void setSellTime(Date sellTime) {
		this.sellTime = sellTime;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Set getTSelldetails() {
		return this.TSelldetails;
	}

	public void setTSelldetails(Set TSelldetails) {
		this.TSelldetails = TSelldetails;
	}

}